package com.k.spring.boot.data.jpa.service;

import com.k.spring.boot.data.jpa.dao.UserInfoDao;
import com.k.spring.boot.data.jpa.entity.UserInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserInfoService {
    @Autowired
    private UserInfoDao userInfoDao;

    public UserInfo save(UserInfo info) {
        return userInfoDao.save(info);
    }
}
